home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
editors
/
mjovesrc.zoo
/
externs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-10-08
|
15KB
|
590 lines
/***************************************************************************
* This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE *
* is provided to you without charge, and with no warranty. You may give *
* away copies of JOVE, including sources, provided that this notice is *
* included in all the files. *
***************************************************************************/
extern char
/* proc.c */
*MakeName proto((char *command)),
/* ask.c */
*ask_file proto((const char *prmt, char *def, char *buf)),
*ask proto((char *, char *, ...)),
*do_ask proto((char *, bool (*) proto((int)), char *, const char *, ...));
extern int
yes_or_no_p proto((char *, ...));
extern void
minib_add proto((char *str, bool movedown));
extern void
isprocbuf proto((char *bufname)),
DoAutoExec proto((char *new, char *old));
extern void
/* extend.c */
vpr_aux proto((const struct variable *, char *, size_t)),
/* proc.c */
#ifndef MSDOS
dowait proto((int pid, int *status)),
#endif
get_FL_info proto((char *, char *)),
ChkErrorLines proto((void)),
ErrFree proto((void));
extern SIGRESULT
/* jove.c */
finish proto((int code)); /* doesn't return at all! */
extern int
/* ctype.h */
ismword proto((int c)),
/* proc.c */
UnixToBuf proto((char *, char *, bool, int, bool, ...)),
/* extend.c */
addgetc proto((void)),
ask_int proto((char *prompt, int base)),
chr_to_int proto((char *cp, int base, int allints, int *result)),
complete proto((char **possible, const char *prompt, int flags)),
/* jove.c */
#ifdef MAC
win_reshape proto((int /*junk*/)),
#endif
charp proto((void)),
getch proto((void)),
jgetchar proto((void)),
getrawinchar proto((void));
#ifdef LOAD_AV
extern int
get_la proto((void)); /* integer, units of .01 */
extern void
closekmem proto((void));
#endif /* LOAD_AV */
extern bool
joverc proto((char *file));
extern void
raw_scream proto((const char *)),
error proto((const char *, ...)),
complain proto((const char *, ...)),
raw_complain proto((const char *, ...)),
confirm proto((const char *, ...)),
ttyset proto((bool n)),
tty_reset proto ((void)),
Ungetc proto((int c));
#ifdef IBMPC
extern bool
rawkey_ready proto((void));
extern char
switchar proto((void));
#endif
extern Bufpos
/* insert.c */
*DoYank proto((struct line *fline, int fchar, struct line *tline, int tchar, struct line *atline, int atchar, struct buffer *whatbuf));
extern void
LineInsert proto((int num));
/* c.c */
extern Bufpos
*c_indent proto((int brace)),
*m_paren proto((int p_type, int dir, int can_mismatch, int can_stop));
extern void
mp_error proto((void));
extern unsigned char
chpl proto((void)),
lpp proto((void));
extern void
DoJustify proto((struct line *l1, int c1, struct line *l2, int c2, bool scrunch, int indent)),
/* abbrev.c */
#ifdef ABBREV
AbbrevExpand proto((void)),
#endif
/* disp.c */
message proto((char *)),
/* insert.c */
#ifdef ABBREV
MaybeAbbrevExpand proto((void)),
#endif
GCchunks proto((void)),
/* fmt.c */
format proto((char *buf, size_t len, const char *fmt, char *ap)),
add_mess proto((const char *, ...)),
f_mess proto((const char *, ...)),
fwritef proto((struct FileStruct *, const char *, ...)),
writef proto((const char *, ...)),
s_mess proto((const char *, ...)),
swritef proto((char *, size_t, const char *, ...)),
/* keymaps.c */
InitKeymaps proto((void)),
/* paragraph.c */
do_rfill proto((bool ulm)),
/* macros.c */
mac_init proto((void)),
/* misc.c */
skip_wht_space proto((void)),
put_bufs proto((bool askp)),
/* term.c */
#ifndef IBMPC
getTERM proto((void)),
#endif
putpad proto((char *str, int lines)),
putargpad proto((char *str, int arg, int lines)),
settout proto((char *ttbuf));
#ifdef IBMPC
extern void
write_em proto((char *s)),
write_emc proto((char *s, int n)),
write_emif proto((char *s));
#endif
#ifdef MAC
extern int
creat proto((const char *, int)),
open proto((const char *, int)),
close proto((int)),
read proto((int, const char *, unsigned)),
write proto((int, const char *, unsigned)),
unlink proto((const char *)),
chdir proto((const char *)),
getArgs proto((char ***));
extern bool
rawchkc proto((void));
extern long
lseek proto((int, long, unsigned));
extern time_t
time proto((time_t *));
#endif /* MAC */
extern char
*pwd proto((void)),
#ifdef MAC
*getwd proto((void)), /* OOPS: same name, different type! */
#else
*getwd proto((char *)),
#endif
*pfile proto((char *)),
*gfile proto((char *));
#ifdef MAC
extern void
MacInit proto((void)),
InitBinds proto((void)),
NPlacur proto((int, int)),
i_lines proto((int, int, int)),
d_lines proto((int, int, int)),
clr_page proto((void)),
clr_eoln proto((void)),
docontrols proto((void)),
RemoveScrollBar proto((Window *)),
InitEvents proto((void)),
menus_on proto((void)),
menus_off proto((void));
#endif
/* Wired Commands */
extern void
UnbindC proto((void)),
ShowVersion proto((void)),
WVisSpace proto((void)),
AppReg proto((void)),
Apropos proto((void)),
BackChar proto((void)),
BList proto((void)),
FList proto((void)),
BUpList proto((void)),
FDownList proto((void)),
BSexpr proto((void)),
BackWord proto((void)),
Bof proto((void)),
Bol proto((void)),
Bos proto((void)),
Bow proto((void)),
BindAKey proto((void)),
BindMac proto((void)),
BufPos proto((void)),
#ifdef MSDOS
Buf1Select proto((void)),
Buf2Select proto((void)),
Buf3Select proto((void)),
Buf4Select proto((void)),
Buf5Select proto((void)),
Buf6Select proto((void)),
Buf7Select proto((void)),
Buf8Select proto((void)),
Buf9Select proto((void)),
Buf10Select proto((void)),
#endif /* MSDOS */
CasRegLower proto((void)),
CasRegUpper proto((void)),
CapChar proto((void)),
CapWord proto((void)),
LowWord proto((void)),
UppWord proto((void)),
Chdir proto((void)),
prCWD proto((void)),
prDIRS proto((void)),
Pushd proto((void)),
Popd proto((void)),
prCTIME proto((void)),
ChrToOct proto((void)),
ClAndRedraw proto((void)),
#ifndef MAC
MakeErrors proto((void)),
ErrParse proto((void)),
#endif
CopyRegion proto((void)),
BufSelect proto((void)),
DelBlnkLines proto((void)),
DelNChar proto((void)),
DelNWord proto((void)),
OneWindow proto((void)),
DelPChar proto((void)),
DelPWord proto((void)),
DelReg proto((void)),
KillSome proto((void)),
DelWtSpace proto((void)),
DelCurWindow proto((void)),
KeyDesc proto((void)),
Digit proto((void)),
Digit0 proto((void)),
Digit1 proto((void)),
Digit2 proto((void)),
Digit3 proto((void)),
Digit4 proto((void)),
Digit5 proto((void)),
Digit6 proto((void)),
Digit7 proto((void)),
Digit8 proto((void)),
Digit9 proto((void)),
DescBindings proto((void)),
DescCom proto((void)),
Eof proto((void)),
Eol proto((void)),
Eos proto((void)),
Eow proto((void)),
ForPara proto((void)),
BackPara proto((void)),
BufErase proto((void)),
PtToMark proto((void)),
Extend proto((void)),
ExecMacro proto((void)),
RunMacro proto((void)),
Leave proto((void)),
FindFile proto((void)),
WindFind proto((void)),
FindTag proto((void)),
FDotTag proto((void)),
ToIndent proto((void)),
ForChar proto((void)),
FSexpr proto((void)),
ForWord proto((void)),
TimesFour proto((void)),
GoLine proto((void)),
GrowWindowCmd proto((void)),
IncFSearch proto((void)),
IncRSearch proto((void)),
InsFile proto((void)),
Justify proto((void)),
RegJustify proto((void)),
SetLMargin proto((void)),
SetRMargin proto((void)),
LRShift proto((void)),
RRShift proto((void)),
BufKill proto((void)),
KillBos proto((void)),
KillEos proto((void)),
KillEOL proto((void)),
KillExpr proto((void)),
BufList proto((void)),
NotModified proto((void)),
NameMac proto((void)),
DelMacro proto((void)),
Newline proto((void)),
OpenLine proto((void)),
LineAI proto((void)),
#ifndef MAC
ShowErr proto((v